package com.wxq.koland.xiaoliscan.network;


import com.wxq.koland.xiaoliscan.bean.NormalBean;
import com.wxq.koland.xiaoliscan.bean.UserInfo;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

/**
 * Created by wxq on 2019/2/13.
 * Love Life ~
 */

public interface MyApi {

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @POST(Config.USER_INFO)
    Call<UserInfo> getUserInfo (@Body RequestBody body);
}
